package com.jf.cloud.live.request;

import org.apache.http.entity.mime.content.ByteArrayBody;

/**
 * 微信接口所需参数
 */
public class WxInterfaceInfo {
    /**
     * 媒体文件类型，分别有图片（image）、语音（voice）、视频（video）和缩略图（thumb）
     */
    private String imgType = "image";

    /**
     * 微信的accessToken
     */
    private String accessToken;

    /**
     * 图片字节数组
     */
    private byte[] bytes;
    private Long limit;

    private Long start;

    private ByteArrayBody byteArray;

    public String getRequestUrl() {
        return "/upload";
    }
    public String getImgType() {
        return imgType;
    }

    public void setImgType(String imgType) {
        this.imgType = imgType;
    }

    public String getAccessToken() {
        return accessToken;
    }

    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken;
    }

    public byte[] getBytes() {
        return bytes;
    }

    public void setBytes(byte[] bytes) {
        this.bytes = bytes;
    }

    public Long getLimit() {
        return limit;
    }

    public void setLimit(Long limit) {
        this.limit = limit;
    }

    public Long getStart() {
        return start;
    }

    public void setStart(Long start) {
        this.start = start;
    }

    public ByteArrayBody getByteArray() {
        return byteArray;
    }

    public void setByteArray(ByteArrayBody byteArray) {
        this.byteArray = byteArray;
    }


}
